xl: fix a couple of memory leaks
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:19 +0000 (17:01 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:19 +0000 (17:01 +0000)
commitab94a40b96b54490140b11b5424eece23585df0c
tree423d5b45b027cffe1e4d7a4bae822f3945c79eb8
parent8e5662983231a94b9e78ff7e0d4a6cfd988ca213
xl: fix a couple of memory leaks

* dolog leaked the log message (!)

* main() leaked the config_data (perhaps a false positive from valgrind,
  but it's nicer to tidy it up).

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/xl.c
tools/libxl/xl_cmdimpl.c